package utils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Theater implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4581885909808564522L;
	// assumed unique for a country or region
	private String name;
	private Integer numTotalPlaces = 0;

	// location data
	private String country;
	private String city;
	private String address;

	// list of unique elements
	private List<Sit> allSits;

	// constructor
	public Theater(String name, Integer numTotalPlaces, String country,
			String city) {
		this.name = name;
		this.numTotalPlaces = numTotalPlaces;
		// location
		this.country = country;
		this.city = city;
	}

	public String getName() {
		return name;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String c) {
		country = c;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String c) {
		city = c;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String add) {
		address = add;
	}

	public Integer getTotalPlace() {
		return numTotalPlaces;
	}

	public void setName(String newName) {
		this.name = newName;
	}
	
	public List<Sit> getAllSits() {
		return allSits;
	}

	public void setAllSits(List<Sit> sits) {
		this.allSits = sits;
	}
}
